|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RoleRegistration
This interface allows to act within the rolesystem, being registered and thus identified. An instance implementing this interface can be obtained through the method reqRegistration of the interface RoleSystem.
RoleSystem.reqRegistration(java.lang.String)| Method Summary | |
|---|---|
void |
dismiss()
Dismisses this registration. |
void |
doAction(RoleAction action)
Does an action through this registration. |
RoleEvent |
listen()
Listens to an event occurred to this registration. |
RoleEvent |
listen(long timeout)
Listens to an event occurred to this registration. |
RoleEvent |
listenNoWait()
Listens to an event occurred to this registration. |
int |
whoAmI()
Returns the identifier assigned to this registration. |
| Method Detail |
|---|
RoleEvent listen()
throws RoleException
RoleException
RoleEvent listen(long timeout)
throws RoleException
timeout - The maximum time to wait, in milliseconds; if it is
0, this method behaves like the one without timeout.
RoleException
RoleEvent listenNoWait()
throws RoleException
RoleException
void doAction(RoleAction action)
throws RoleException
action - Action to do.
RoleException
int whoAmI()
throws RoleException
RoleException
void dismiss()
throws RoleException
RoleException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||